package com.zunipe.chat.bean;

public class Message {
    private int code;
    private String msg;
    private String sender;
    private long time;

    public Message() {
    }

    public Message(int code, String msg, String sender, long time) {
        this.code = code;
        this.msg = msg;
        this.sender = sender;
        this.time = time;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }
}
